home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
EnigmA Amiga Run 1997 April
/
EnigmA AMIGA RUN 17 (1997)(G.R. Edizioni)(IT)[!][issue 1997-04][EAR-CD].iso
/
EARCD
/
comm
/
ums
/
IntuiNews1_4a.lha
/
UMS
/
Rexx
/
ROT13Decrypt.intui
< prev
next >
Wrap
Text File
|
1995-08-24
|
1KB
|
42 lines
/* ------------------------------------------------------------------------
:Program. ROT13Decrypt.intui
:Contents. decrypts ROT13 message and shows it in IntuiNews's window
:Author. Martin Koyro [mk]
:Address. Snail Mail: EMail:
:Address. Salzmannstr. 12 Martin Koyro @ MS3
:Address. 48147 Münster mk@bones.westfalen.de
:History. v1.0 [mk] 23-Mar-95
:Copyright.
:Language. ARexx
:Translator. RexxMast
:Usage. ROT13Decrypt.intui
------------------------------------------------------------------------ */
/* Exit if Message Window is not active. */
OPTIONS RESULTS
STATUS
say RESULT
IF RESULT~="MESSAGE" THEN EXIT 5
/* We get IntuiNews's message number, ... */
GETMSGNUM
MsgNum=RESULT
/* ... save the message, ... */
'SAVEMSGBODY' MsgNum 'TO T:rot13.tmp'
/* ... call rot13, ... */
EXEC 'rot13 T:rot13.tmp >NIL:'
/* ... and show the decrypted message. */
'REPLACEMSGBODY WITH T:rot13.tmp'
EXEC 'C:Delete T:rot13.tmp QUIET'